﻿namespace Mitc.Portal.Services.Calendar
{
    #region -----------------refer-----------------------
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.SharePoint;
    using Mitc.Portal.Core.Entitys.Calendar;

    #endregion
    
    public interface ICalendar
    {
        #region -----------------CRUD-----------------------
        void CreateCalendar(CalendarEntity calendar);
        void UpdateCalendar(CalendarEntity calendar);
        void DeleteCalendar(CalendarEntity calendar);
        CalendarEntity GetCalendarById(int id);
        List<CalendarEntity> GetCalendar(SPWeb rootweb);
    #endregion

    }
}
